package com.travel.util;

import lombok.Data;

@Data
public class Alipay {

    private String orderNumber;
    private String totalAmount;
    private String tradeName;
    private String describe;

    Alipay(String orderNumber,String totalAmount,String tradeName){
        this.orderNumber = orderNumber;
        this.tradeName = tradeName;
        this.totalAmount = totalAmount;
    }
    Alipay(String orderNumber,String totalAmount,String tradeName,String describe){
        this.orderNumber = orderNumber;
        this.tradeName = tradeName;
        this.totalAmount = totalAmount;
        this.describe = describe;
    }


    public static Alipay pay_3(String orderNumber, String totalAmount, String tradeName){
        return new Alipay(orderNumber,totalAmount,tradeName);
    }

    public static Alipay pay_4(String orderNumber, String totalAmount, String tradeName,String describe){
        return new Alipay(orderNumber,totalAmount,tradeName,describe);
    }

}
